package com.example.yoho.mvp.contract;

import com.example.lib_core.mvp.model.IModel;
import com.example.lib_core.mvp.view.IView;
import com.example.yoho.mvp.model.entity.CommunityBean;

import io.reactivex.Observable;

public interface CommunityContract {
    interface Model extends IModel{
        Observable<CommunityBean> CommunityModel(String request);
    }
    interface View extends IView{
        void showCommunity(CommunityBean communityBean);
    }
}
